lcEntBreak2 Home

Divides entity on multiple parts at specified points. The points must be defined in a Points buffer object.
The function can be applied to the following entity types: Line, Polyline, Arc, Circle

 HANDLE lcEntBreak2 (
   HANDLE hEntity,
   HANDLE hPtbuf,
   double Delta,
   BOOL bSelectNew,
   BOOL bDeleteEnt
 );

Parameters
hEntity
  Handle to a graphic object to be splitted.
hPtbuf
  Handle to a points buffer object.
Delta
  Maximum allowed distance between entity outline and the point.
bSelectNew
  If TRUE then the derived entities will be added into selection set.
bDeleteEnt
  If TRUE then the source entity will be deleted.

Return Value

  A handle to the first result entity, or NULL if the function fails.

See Also

  Code sample1,   Code sample2,   LC_CMD_BREAK,   lcEntBreak,   lcEntSplit